﻿using UnityEngine;
 
public static class ParticleSystemExtensions
{
    public static int GetMaxParticles(this ParticleSystem p)
    {
        return p.main.maxParticles;
    }

    public static float GetDuration(this ParticleSystem p)
    {
        return p.main.duration;
    }
}
